package net.chenlin.dp.modules.business.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author Yangsm
 * @ClassName: DataExportVo
 * @Description: TODO
 * @date 2023年08月02日 17:30
 */
@Data
public class DataExportVo {

    @ExcelProperty(value = "设备编号ID", index = 0)
    @ColumnWidth(25)
    private String deviceNo;

    @ExcelProperty(value = "开始时间", index = 1)
    @ColumnWidth(25)
    private Date measurementStartTime;

    @ExcelProperty(value = "结束时间", index = 2)
    @ColumnWidth(25)
    private Date measurementEndTime;

    @ExcelProperty(value = "A相电量", index = 3)
    @ColumnWidth(25)
    private String oneChannelMinutePower;

    @ExcelProperty(value = "B相电量", index = 4)
    @ColumnWidth(25)
    private String twoChannelMinutePower;

    @ExcelProperty(value = "C相电量", index = 5)
    @ColumnWidth(25)
    private String threeChannelMinutePower;

    @ExcelProperty(value = "合计电能", index = 6)
    @ColumnWidth(25)
    private  String minutePowerTotal;
}
